<template>
	<!-- <div class="admin"><router-view /></div> -->
	<div class="admin">
		<el-container>
			<el-header><img :src="logo" height="80px" /></el-header>
			<el-container>
				<el-aside width="200px">
					<ul>
						<!-- <li><router-link :to="{ name: 'Admin' }">Dashboard</router-link></li> -->
						<li><router-link :to="{ name: 'AdminArticle' }">文章管理</router-link></li>
					</ul>
				</el-aside>
				<el-main>
					<router-view />
				</el-main>
			</el-container>
		</el-container>
	</div>
</template>

<script>
import logo from '../assets/logo.png';
export default {
	data() {
		return {
			logo
		};
	}
};
</script>

<style scoped>
.el-header {
	background-color: #b3c0d1;
	color: #333;
	text-align: center;
	line-height: 60px;
	height: 80px !important;
}

.el-aside {
	background-color: #d3dce6;
	color: #333;
	text-align: center;
	line-height: 500px;
	height: 600px !important;
}

.el-main {
	background-color: #e9eef3;
	color: #333;
	text-align: center;
	line-height: 500px;
	height: 600px !important;
}
</style>
